powered by
Function to index elements of an interval object
# S3 method for interval [(obj, index)
the interval object
the index of the elements to replace